package com.test.webflux.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * TODO
 *
 * @Description
 * @Author lingmin
 * @Date 2025/4/14 16:51
 **/
@Data

@ConfigurationProperties(prefix = "router")
@Configuration()
public class PathConfig {

    /**
     * 路由信息
     */
    private List<PathInfo> pathInfos;


    @Data
    public static class PathInfo{
        /**
         * 请求方式
         */
        private String methodName;

        /**
         * 请求路径
         */
        private String path;

    }

}
